package com.su.pg.data;

import com.amap.api.maps2d.model.LatLng;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Choco on 2015/6/1.
 */
public class PolygonData {
    private List<LatLng> points;

    public PolygonData(){
        points = new ArrayList<LatLng>();
    }

    public void add(LatLng latLng){
        points.add(latLng);
    }

    public void clear(){
        points.clear();
    }

    public List<LatLng> get(){
        return points;
    }
}
